package com.example.springbootdemo.scene.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 *@author xuwangqi
 *@date 2021/5/24 15:58
 **/
@ApiModel(value="com-example-springbootdemo-scene-entity-Converge")
@Data
@TableName(value = "converge")
public class Converge {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 导游id
     */
    @TableField(value = "member_id")
    @ApiModelProperty(value="导游id")
    private Long memberId;

    /**
     * 集结描述
     */
    @TableField(value = "intro")
    @ApiModelProperty(value="集结描述")
    private String intro;

    /**
     * 集结项
包含name,address,poi
     */
    @TableField(value = "position")
    @ApiModelProperty(value="集结项,包含name,address,poi")
    private String position;

    /**
     * 公告 不能超过255个字符
     */
    @TableField(value = "notice")
    @ApiModelProperty(value="公告 不能超过255个字符")
    private String notice;

    /**
     * 集结时间
     */
    @TableField(value = "time")
    @ApiModelProperty(value="集结时间")
    private Date time;

    /**
     * 集结状态
1 集结中
2 集结关闭
     */
    @TableField(value = "status")
    @ApiModelProperty(value="集结状态,1 集结中,2 集结关闭")
    private Byte status;

    @TableField(value = "gmt_create")
    @ApiModelProperty(value="")
    private Date gmtCreate;

    @TableField(value = "gmt_modified")
    @ApiModelProperty(value="")
    private Date gmtModified;

    /**
     * 是否删除，1被删除，0未删除
     */
    @TableField(value = "is_deleted")
    @ApiModelProperty(value="是否删除，1被删除，0未删除")
    private Byte isDeleted;

    public static final String COL_ID = "id";

    public static final String COL_MEMBER_ID = "member_id";

    public static final String COL_INTRO = "intro";

    public static final String COL_POSITION = "position";

    public static final String COL_NOTICE = "notice";

    public static final String COL_TIME = "time";

    public static final String COL_STATUS = "status";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";

    public static final String COL_IS_DELETED = "is_deleted";
}